<?php
class Mozg_Registry
{
	protected static $_data = array();
	
	public static function Set($name, $value = null)
	{
		self::$_data[$name] = $value;
	}
	
	public static function Get($name)
	{
		return self::$_data[$name];
	}
	
	public static function Delete($name)
	{
		if (isset(self::$_data[$name])) unset(self::$_data[$name]);
	}
}